package net.lab1024.sa.admin.module.business.erp.domain.form.update;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 生产订单与机器对应表 更新表单
 *
 * @Author AKITA
 * @Date 2025-04-19 12:46:38
 * @Copyright AKITA
 */

@Data
public class MmordaUpdateForm {

    @Schema(description = "电键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电键 不能为空")
    private Long docEntry;

    private Integer lineNum;
    private String lineStatus;
    private Boolean approved;
    private String macId;
    private String macName;
    @NotNull(message = "日期不能为空")
    private LocalDateTime beginDate;
    @NotNull(message = "日期不能为空")
    private LocalDateTime endDate;
    private BigDecimal cost;
    private BigDecimal macTime;
}